package com.bpzj.mybatis.model;

public class Blog {

  private Integer bid;

  private Integer authorId;

  private String title;

  private String content;

  public Integer getBid() {
    return bid;
  }

  public void setBid(Integer bid) {
    this.bid = bid;
  }

  public Integer getAuthorId() {
    return authorId;
  }

  public void setAuthorId(Integer authorId) {
    this.authorId = authorId;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title == null ? null : title.trim();
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content == null ? null : content.trim();
  }

  @Override
  public String toString() {
    return "Blog{" +
        "bid=" + bid +
        ", authorId=" + authorId +
        ", title='" + title + '\'' +
        ", content='" + content + '\'' +
        '}';
  }
}